// 使用 core.js 处理 ES6 以及以上 API
import "core-js/es/promise";

import { sum } from "./utils/sum";
import "../public/css/test1.css";
import "../public/css/test2.less";
import "../public/css/test3.sass";
import "../public/css/test4.scss";
import "../public/css/test5.styl";
import "../public/css/iconfont.css";

const test = (tem) => {
  console.log(tem + 1);
};
console.log("和", sum(1, 2, 3, 4));
test(sum(1, 2, 3, 4));

var promise = Promise.resolve();
promise.then(() => {
  console.log("hello promise");
});
